import sys
import os

neiron3 = []
neiron = sys.argv[1]
neiron2 = open(neiron, "r",encoding='utf8')
neiron = neiron2.readlines()
for i in neiron:
    if len(neiron)-1 > neiron.index(i):
        i_t = i.split("\n")
        neiron3.append(i_t[0])
    else:
        neiron3.append(i)
print(neiron3)
content = "".join(neiron3)
print(content)
os.system("gs2.exe "+content)
